package com.ruoyi.system.domain.cust;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.domain.MaterialExp;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@TableName("bas_material")
@Data
public class BasMaterial extends MaterialExp implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 物料主键 */
    @TableId(value = "matId", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long matId;

    /** 物料编号 */
    @TableField(value = "matNo")
    private String matNo;

    /** 物料名称 */
    @TableField(value = "matName")
    private String matName;

    /** 规格 */
    @TableField(value = "type")
    private String type;

    /** 颜色 */
    @TableField(value = "clName")
    private String clName;

    /** 客户产品名称 */
    @TableField(value = "custMatName")
    private String custMatName;

    /** 币种 */
    @TableField(value = "curId")
    private Long curId;

    /** 英文名称 */
    @TableField(value = "engName")
    private String engName;

    /** 英文颜色 */
    @TableField(value = "engColor")
    private String engColor;

    /** 图片 */
    @TableField(value = "imagePath")
    private String imagePath;

    /** 审核状态 */
    @TableField(value = "pass")
    private Long pass;

    /** 物料分类 */
    @TableField(value = "mcId")
    private Long mcId;
}
